<?php
/**
 * 通用信息设置
 * User: 曾国藩
 * Date: 13-12-27
 * Time: 下午3:40
 */

/*默认国家代码*/
$config['default_country_code'] = 'CA';
/*过滤控制器*/
$config['explode_controllers'] = array(
    'CommonWebService',
    'AjaxUserAction',
);
/*区域cookie*/
$config['jollychiczoneip'] = 'jollychiczoneip';
$config['jollychiczoneip_cookie_expire'] = 432000;
/*引流cookie*/
$config['jollychiccode'] = 'jollychiccode';
$config['jollychiccode_cookie_expire'] = 432000;
/*中东topsale cookie*/
$config['jollychictopsalecode'] = 'jollychictopsalecode';
$config['jollychictopsalecode_cookie_expire'] = 432000;

/*======================记录应用运行时间日志=======================*/
//是否启用日志记录
$config['enable_runtime'] = true;
//日志文件名称
$config['runtime_log']  = 'runtime_'.date('Y-m-d-H').'.log';
/*======================记录应用运行时间日志=======================*/

/*=====================订单黑名单=============================*/
$config['block_user_group'] = 1;
/*=====================订单黑名单=============================*/

/*=====================疑似订单黑名单=============================*/
$config['skeptical_block_user_group'] = 2;
/*=====================疑似订单黑名单=============================*/


/*=====================通过固定链接注册的用户送5红包=============================*/
$config['UrlBonus'] = 'UrlBonus';
$config['get_five_packet'] = array(
    '/UserAction/register/?url=registersendfive',
    'url_2',
    'url_3',
);
/*=====================通过固定链接注册的用户送5红包=============================*/
/*=====================复活节活动商品CAT_ID=============================*/
$config['Easter_Goods_Cat_Id_App'] = '10,8,6,80,45,16,43,14,12';
$config['Easter_Goods_Cat_Id_Bag'] = '40,52,58,54,63,51,36,62,50,53,60,41';
/*=====================复活节活动商品CAT_ID=============================*/

/*=====================注册就送用户$5红包=============================*/
$config['RegBonus'] = 'RegBonus';
/*=====================注册就送用户$5红包=============================*/
/*=====================复活节活动每人送一个红包=============================*/
$config['easter_day'] = 'Easter Day $5';
$config['is_easter_cookie'] = 'is_easter';
/*=====================复活节活动每人送一个红包=============================*/
/*=====================一级类目=============================*/
//类目id
$config['fristCateId'] = array(2,31,35,59);
//默认排序
$config['fristCateOrder'] = 'lift6';
/*=====================一级类目=============================*/
/*============topsale根据国家的配置================*/
//中东国家
$config['midEastCountry'] = array(
    'KW', //科威特 Kuwait
    'AE', //阿联酋 United Arab Emirates
    'SA', //沙特 Saudi Arabia
    'LB', //黎巴嫩 Lebanon
    'BH', //巴林 Bahrain
    'OM'  //阿曼 Oman
);
$config['australianCode'] = array(
    'AU', //澳大利亚  Australian
    'NZ', //新西兰 New Zealand
    'CL', //智利 Chile
    'SG' //新加坡 Singapore
);
$config['eustralianCode'] = array(
    'IE','JE','RO','IT','NL','LU','CH','HU','RS','ES','BE','SK','BA','VA','SI','HR','MK','GR','DE','CZ','MT','PT','LI','EU','AL','BG','FR','GB','AT','PL'
);
/*============topsale根据国家的配置================*/
/*网站显示包邮的文案所需要的cookie*/
$config['freeshippingwords'] = 'P_fsw';//php端写的cookie用'P_'开头
$config['freeshippingwords_cookie_expire'] = 432000;
/*========特定国家包邮标签显示的起始价格=========*/
$config['freeShippingPrice'] = array(
    'US' => 69,
    'OTHER' => 99
);
/*======================支付方式显示国家代码========================*/
//JCB支付方式显示国家代码
$config['jcb_country_code'] = array('JP');
//WEBMONEY支付方式显示国家代码
$config['webmoney_country_code'] = array('RU');
/*======================支付方式显示国家代码========================*/
/*======================Wap不需要跳转的控制器====================*/
$config['noJumpAction'] = array(
    'specialActionF2E/freetrial20140530',
	'specialActionF2E/special/valentine2015/freegit',
	'specialActionF2E/special/rotarytable20141217/index',
);
/*======================Wap不需要跳转的控制器====================*/
/*======================独立日2014相关配置====================*/
$config['duliriStartTime'] = '2014-07-01 18:00:00';
//$config['duliriStartTime'] = '2014-07-04 12:00:00';
$config['duliriEndTime'] = '2014-07-01 18:05:00';
//$config['duliriEndTime'] = '2014-07-05 12:00:00';
$config['duliriFilePath'] = 'application/data/';
$config['duliriRedisKey'] = 'duliri2014';
$config['duliriRedisTime'] = 5184000;
/*======================独立日2014相关配置====================*/
/*======================BI 接口地址====================*/
//地址
$config['biPortAddress'] = 'http://192.168.3.112:8080/goods.zy';
$config['newBiPortAddress'] = 'http://192.168.3.112:8080/';
//$config['newBiPortAddress'] = 'http://192.168.1.25:8080/GoodsRecommend/';
/*======================BI 接口地址====================*/

/*======================闪购相关活动配置====================*/
$config['flashSale'] = array(
    //劳工日活动
    'labourDay' => array(
        'startTime' => '2014-08-27 14:30:00',
        //'startTime' => '2014-09-01 12:00:00',
        'endTime' => '2014-08-27 14:35:00',
        //'endTime' => '2014-09-02 11:59:59',
        'goodsSnFilePath' => 'application/data/',
        'redisKey' => 'labourDay2014',
        'redisTime' => 5184000,
        'trackCode' => 'kickoff0901',
        'url' => 'autumn-winter-new-arrivals-kickoff-sale-index.html',
        'showFile' => 'special/labourDay20140827/index',
        'page' => 1,
        'pageSize' => 120
    ),
);
/*======================闪购相关活动配置====================*/

/*======================搜索服务化 接口地址====================*/
$config['searchServicePortAddress'] = 'http://192.168.3.117:6626/search.do';
//$config['searchServicePortAddress'] = 'http://www.jollypayment-dev.com:6626/search.do';
/*======================搜索服务化 接口地址====================*/

//优惠方式配置
$config['favorableType'] = array(
    'userFirst' => array(
        'name' => '30% OFF first order',
	'alias' => '35% OFF first order (for invitation)',
		'order' => 1,
		'checked' => 0,
		'discount' => 0,
		'datalist' => array(),
    ),
    'discount' => array(
        'name' => 'Cash Reduction',
		'order' => 2,
		'checked' => 0,
		'discount' => 0,
		'datalist' => array()
    ),
    'bonus' => array(
        'name' => 'Bonus',
		'order' => 3,
		'checked' => 0,
		'discount' => 0,
		'datalist' => array()	
    ),
    'coupon' => array(
        'name' => 'Coupon',
		'order' => 4,
		'checked' => 0,
		'discount' => 0,
		'datalist' => array()		
    ),
    'nocheck' => array(
        'name' => 'no favorable',
		'order' => -1,
		'checked' => 0,
		'discount' => 0,
		'datalist' => array()
	)
);

//fb首单优惠配置
$config['fbUserFirstOrder'] = array(
    'status' => 1,
    'ratio' => 15,
    'defaultCheck' => 1
);

//订单满减配置
$config['orderDiscount'] = array(
    '249-399a' => array(
        'discount' => 15,
    ),
    '399-599a' => array(
        'discount' => 30,
    ),
    '599-999a' => array(
        'discount' => 50,
    ),
    '999-99999999a' => array(
        'discount' => 90,
    ),
);


//2014圣诞红包
$config['christmasBonus'] = array(
    'startTime' => '2014-11-01 12:00:00',
    'endTime' => '2014-12-26 12:00:00',
    'bonusName' => 'Good Omen',
);

/*=================以下国家屏蔽支付方式================*/
$config['shieldPayMethod'] = array(
    PAYMENT_MASAPAY_VISA => array(
        'ZA'
    ),
    PAYMENT_MASAPAY_MASTER => array(
        'ZA'
    )
);

/*=================以上国家屏蔽支付方式================*/

/*=================以下为2014圣诞预热活动二期购物车页面送礼物的商品配置============*/
$config['christCartGift'] = array(
    'gear1' => array(
        'startDate' => '2015-04-02 19:00:00',
        'endDate' => '2016-04-05 16:00:00',
        'minAmount' => 99,
        'maxAmount' => 99999999,
        'styleClass' => 'odd',
        'showNum' => 2,
        'goodsSn' => array(
            'XF13080710',
            'HY13080710',
        )
    ),
    'gear2' => array(
        'startDate' => '2015-04-02 19:00:00',
        'endDate' => '2015-04-05 16:00:00',
        'minAmount' => 169,
        'maxAmount' => 99999999,
        'styleClass' => 'even',
        'showNum' => 10,
        'goodsSn' => array(
            'XF13080711',
            'HY13080711',
        )
    ),
    'gear3' => array(
        'startDate' => '2015-04-02 19:00:00',
        'endDate' => '2015-04-05 16:00:00',
        'minAmount' => 249,
        'maxAmount' => 99999999,
        'styleClass' => 'odd',
        'showNum' => 10,
        'goodsSn' => array(
            'HY13080711',
            'XB13080707',
        )
    ),
);
/*=================以上为2014圣诞预热活动二期购物车页面送礼物的商品配置============*/

/*===============配置订单允许支付时间段==============*/
$config['orderPayTimeOut'] = 71.5; //小时
/*===============配置订单允许支付时间段==============*/

/*===============快捷支付不配送美国州编号============*/
$config['usStateUnShip'] = array(
    'AA', 'AE', 'AP'
);
/*===============快捷支付不配送美国州编号============*/

/*===============多币种支付==============*/
$config['enableMultiplicityCurrency'] = true; //是否开启多币种支付
//$config['enableMainSiteMultiplicityCurrency'] = true; //英文站是否开启多币种支付
$config['availableCurrency'] = array('AED', 'AUD', 'BHD', 'CAD', 'EUR', 'GBP', 'KWD', 'PLN', 'QAR', 'SAR','USD'); //信用卡支持的币种
$config['paypalCurrency'] = array('USD', 'EUR', 'AUD', 'GBP', 'CAD'); //paypal支持的币种
$config['cashuCurrency'] = array('USD', 'EUR', 'AED', 'SAR', 'QAR', 'KWD', 'BHD', 'GBP');

/*===============多币种支付==============*/

/**=============== 风格固定ID ==============*/
$config['styleId'] = 166;
/**=============== 风格固定ID ==============*/
#dev  $config['styleId'] = 44;
#beta $config['styleId'] = 66;
#www  $config['styleId'] = 77;

//释放订单锁定库存定时执行参数，从后台移植到前台，由于后台数据库延迟问题
$config['is_holiday'] = false;
$config['is_sale_stock'] = true;
$config['stock_start_time'] = '2014-01-01';

/*===============注册转盘抽奖==============*/
/*$config['turnplate'] = array(
    array(
        'name' => 'bonus5',
        'type' => 1,
        'content' => '$5 bonus',
        'value' => 189,
        'percent' => 49.96,
        'percentSepcial' => 49.96,
        'locate' => 1,

    ),
    array(
        'name' => 'bonus10',
        'type' => 1,
        'content' => '$10 bonus',
        'value' => 191,
        'percent' => 50,
        'percentSepcial' => 50,
        'locate' => 2,
    ),
    array(
        'name' => 'prize',
        'type' => 2,
        'content' => 'free gift',
        'value' => 191,
        'percent' => 0.04,
        'percentSepcial' => 0.04,
        'locate' => 3,
    ),
);*/
$config['turnplateBaseNum'] = 10000;
$config['turnplateStartTime'] = '2014-12-19 00:00:00';
$config['siteCode'] = 'US';
/*===============注册转盘抽奖==============*/

/*==========汇率货币单位名称配置===========*/
$config['exchangeRateConfig'] = array(
    'usd' => array(
        'symbol' => 'US$',
        'name'   => 'US Dollar'
    ),
    'eur' => array(
        'symbol' => '€',
        'name'   => 'Euro'
    ),
    'aud' => array(
        'symbol' => 'AU$',
        'name'   => 'Australian Dollar'
    ),
    'sar' => array(
        'symbol' => ' ر.س',
        'name'   => 'Saudi Riyal'
    ),
    'kwd' => array(
        'symbol' => 'K.D',
        'name'   => 'Kuwaiti Dinar'
    ),
    'aed' => array(
        'symbol' => 'AED',
        'name'   => 'United Arab Emi"rat"s Dirham'
    ),
    'sgd' => array(
        'symbol' => 'S$',
        'name'   => 'Singapore Dollar'
    ),
    'qar' => array(
        'symbol' => '﷼',
        'name'   => 'Qatar riyal'
    ),
    'cad' => array(
        'symbol' => 'Can$',
        'name'   => 'Canadian Dollar'
    ),
    'bhd' => array(
        'symbol' => 'BD',
        'name'   => 'Bahraini Dinar'
    ),
    'mxn' => array(
        'symbol' => 'MEX$',
        'name'   => 'Mexican Peso'
    ),
    'nzd' => array(
        'symbol' => 'NZD$',
        'name'   => 'New Zealand Dollar'
    ),
    'gbp' => array(
        'symbol' => '£',
        'name'   => 'British Pound'
    ),
    'trl' => array(
        'symbol' => 'TL.',
        'name'   => 'Turkish Lira'
    ),
    'chf' => array(
        'symbol' => 'SF.',
        'name'   => 'Swiss Franc'
    ),
    'sek' => array(
        'symbol' => 'S.Kr.',
        'name'   => 'Swedish Krona'
    ),
    'pln' => array(
        'symbol' => 'zł',
        'name'   => 'Polish Zloty'
    ),
    'nok' => array(
        'symbol' => 'kr',
        'name'   => 'Norwegian Krone'
    ),
    'inr' => array(
        'symbol' => 'Rs.',
        'name'   => 'Iran'
    ),
);

/*==========汇率货币单位名称配置===========*/

$config['category_attributes'] = array(
    'id' => 59,
    'name' => 'Commodity scene'
);
/*===========调用java接口地址-用于列表页商品属性筛选==========*/
$config['verifyPatternJavaPort'] = 'http://192.168.1.128/pattern/verify';
/*===========调用java接口地址-用于列表页商品属性筛选==========*/


/*===============复活节砸蛋配置==============*/
/*array(
    'name'      => 'voucher50', //中奖名称
    'type'      => 2,           //中奖类型（前端会使用）
    'content'   => '$50 voucher for easter',    //中奖内容（中奖后保存至表who_easter_winner_info字段content)
    'mark'      => 'voucher',   //奖品标记（freegift:免费礼物；bonus：红包；voucher：抵价券；specialgift：特价商品）
    'belong'    => 'easter',    //奖品归属（easter：复活节奖品，celebrate:店庆奖品）
    'amount'    => 50.00,       //奖品金额（红包和抵价券才有此项）
    'percent'   => array(       //中奖概率(可配置多个国家的国家码)
        'default'   => 1.25,    //其他国家的概率
        'US'        => 1.25,    //美国的概率
        'CA'        => 0,       //加拿大的概率（在增加以此类推）
        'AU'        => 0,
        'CN'        => 0,
        'AR'        => 0,
    ),
    'detail'    => array(       //奖品详细配置（免费商品，特价商品，红包无此项配置）
        'startTime' => '2015-03-28 16:00:00',   //抵价券开始使用时间
        'endTime'   => '2015-04-06 16:00:00',   //抵价券失效时间
        'value'     => 50.00,                   //抵价券能抵的金额
        'sellAmount'    => 0.00,                //抵价券的售价
        'minAmount' => 299.00,                  //抵价券使用的门限
    )
),*/
$config['easterEgg'] = array(
    /*-----免费商品-----*/
    array(
        'name'      => 'freeGift',
        'type'      => 3,
        'content'   => 'free gift',
        'mark'      => 'freegift',
        'percent'   => array(
            'default'   => 0,
            'US'        => 0.01,
            'CA'        => 0,
            'AU'        => 100,
            'CN'        => 0,
            'AR'        => 0,
        ),
    ),

    /*-----大面值红包-----*/
    array(
        'name'      => 'bonus100',
        'type'      => 1,
        'content'   => '$100 bonus for easter',
        'mark'      => 'bonus',
        'belong'    => 'easter',
        'amount'    => 100.00,
        'percent'   => array(
            'default'   => 0,
            'US'        => 0.01,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'elementId' => 189
    ),

    /*-----折扣商品-----*/
    array(
        'name'      => 'specialGift',
        'type'      => 4,
        'content'   => 'special gift',
        'mark'      => 'specialgift',
        'percent'   => array(
            'default'   => 10,
            'US'        => 10,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 100,
            'AR'        => 0,
        ),
        'goodsSn' => '00K93AC000',
    ),
    array(
        'name'      => 'specialGift',
        'type'      => 4,
        'content'   => 'special gift',
        'mark'      => 'specialgift',
        'percent'   => array(
            'default'   => 10,
            'US'        => 10,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'goodsSn'   => 'XB13081225',
    ),
    array(
        'name'      => 'specialGift',
        'type'      => 4,
        'content'   => 'special gift',
        'mark'      => 'specialgift',
        'percent'   => array(
            'default'   => 10,
            'US'        => 10,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'goodsSn'   => 'XF13081228',
    ),
    array(
        'name'      => 'specialGift',
        'type'      => 4,
        'content'   => 'special gift',
        'mark'      => 'specialgift',
        'percent'   => array(
            'default'   => 10,
            'US'        => 10,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'goodsSn'   => 'XB13081224',
    ),
    array(
        'name'      => 'specialGift',
        'type'      => 4,
        'content'   => 'special gift',
        'mark'      => 'specialgift',
        'percent'   => array(
            'default'   => 10,
            'US'        => 10,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'goodsSn'   => 'XB13081224',
    ),

    /*-----小面值红包-easter-----*/
    array(
        'name'      => 'bonus5',
        'type'      => 1,
        'content'   => '$5 bonus for easter',
        'mark'      => 'bonus',
        'belong'    => 'easter',
        'amount'    => 5.00,
        'percent'   => array(
            'default'   => 3.75,
            'US'        => 3.75,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 50,
        ),
        'elementId' => 189
    ),
    array(
        'name'      => 'bonus10',
        'type'      => 1,
        'content'   => '$10 bonus  for easter',
        'mark'      => 'bonus',
        'belong'    => 'easter',
        'amount'    => 10.00,
        'percent'   => array(
            'default'   => 3.75,
            'US'        => 3.75,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'elementId' => 191
    ),
    array(
        'name'      => 'bonus20',
        'type'      => 1,
        'content'   => '$20 bonus for easter',
        'mark'      => 'bonus',
        'belong'    => 'easter',
        'amount'    => 20.00,
        'percent'   => array(
            'default'   => 3.75,
            'US'        => 3.75,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'elementId' => 189
    ),
    array(
        'name'      => 'bonus50',
        'type'      => 1,
        'content'   => '$50 bonus for easter',
        'mark'      => 'bonus',
        'belong'    => 'easter',
        'amount'    => 50.00,
        'percent'   => array(
            'default'   => 1.25,
            'US'        => 1.25,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'elementId' => 191
    ),

    /*-----小面值红包-店庆-----*/
    array(
        'name'      => 'bonus5',
        'type'      => 1,
        'content'   => '$5 bonus for anniversary celebration',
        'mark'      => 'bonus',
        'belong'    => 'celebrate',
        'amount'    => 5.00,
        'percent'   => array(
            'default'   => 3.75,
            'US'        => 3.75,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'elementId' => 189
    ),
    array(
        'name'      => 'bonus10',
        'type'      => 1,
        'content'   => '$10 bonus for anniversary celebration',
        'mark'      => 'bonus',
        'belong'    => 'celebrate',
        'amount'    => 10.00,
        'percent'   => array(
            'default'   => 3.75,
            'US'        => 3.75,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 50,
        ),
        'elementId' => 191
    ),
    array(
        'name'      => 'bonus20',
        'type'      => 1,
        'content'   => '$20 bonus for anniversary celebration',
        'mark'      => 'bonus',
        'belong'    => 'celebrate',
        'amount'    => 20.00,
        'percent'   => array(
            'default'   => 3.75,
            'US'        => 3.73,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'elementId' => 189
    ),
    array(
        'name'      => 'bonus50',
        'type'      => 1,
        'content'   => '$50 bonus for anniversary celebration',
        'mark'      => 'bonus',
        'belong'    => 'celebrate',
        'amount'    => 50.00,
        'percent'   => array(
            'default'   => 1.25,
            'US'        => 1.25,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'elementId' => 191
    ),

    /*-----抵价券-easter-----*/
    array(
        'name'      => 'voucher5',
        'type'      => 2,
        'content'   => '$5 voucher for easter',
        'mark'      => 'voucher',
        'belong'    => 'easter',
        'amount'    => 5.00,
        'percent'   => array(
            'default'   => 3.75,
            'US'        => 3.73,
            'CA'        => 50,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'detail'    => array(
            'startTime' => '2015-01-01 00:00:00',
            'endTime'   => '2015-05-01 00:00:00',
            'value'     => 5.00,
            'sellAmount'    =>5.00,
            'minAmount' => 5.00,
        )
    ),
    array(
        'name'      => 'voucher10',
        'type'      => 2,
        'content'   => '$10 voucher for easter',
        'mark'      => 'voucher',
        'belong'    => 'easter',
        'amount'    => 10.00,
        'percent'   => array(
            'default'   => 3.75,
            'US'        => 3.73,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'detail'    => array(
            'startTime' => '2015-01-01 00:00:00',
            'endTime'   => '2015-05-01 00:00:00',
            'value'     => 10.00,
            'sellAmount'    => 10.00,
            'minAmount' => 10.00,
        )
    ),
    array(
        'name'      => 'voucher20',
        'type'      => 2,
        'content'   => '$20 voucher for easter',
        'mark'      => 'voucher',
        'belong'    => 'easter',
        'amount'    => 20.00,
        'percent'   => array(
            'default'   => 3.75,
            'US'        => 3.73,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'detail'    => array(
            'startTime' => '2015-01-01 00:00:00',
            'endTime'   => '2015-05-01 00:00:00',
            'value'     => 20.00,
            'sellAmount'    => 20.00,
            'minAmount' => 20.00,
        )
    ),
    array(
        'name'      => 'voucher50',
        'type'      => 2,
        'content'   => '$50 voucher for easter',
        'mark'      => 'voucher',
        'belong'    => 'easter',
        'amount'    => 50.00,
        'percent'   => array(
            'default'   => 1.25,
            'US'        => 1.25,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'detail'    => array(
            'startTime' => '2015-01-01 00:00:00',
            'endTime'   => '2015-05-01 00:00:00',
            'value'     => 50.00,
            'sellAmount'    => 50.00,
            'minAmount' => 50.00,
        )
    ),

    /*-----抵价券-店庆-----*/
    array(
        'name'      => 'voucher5',
        'type'      => 2,
        'content'   => '$5 voucher for anniversary celebration',
        'mark'      => 'voucher',
        'belong'    => 'celebrate',
        'amount'    => 5.00,
        'percent'   => array(
            'default'   => 3.75,
            'US'        => 3.73,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'detail'    => array(
            'startTime' => '2015-01-01 00:00:00',
            'endTime'   => '2015-05-01 00:00:00',
            'value'     => 5.00,
            'sellAmount'    =>5.00,
            'minAmount' => 5.00,
        )
    ),
    array(
        'name'      => 'voucher10',
        'type'      => 2,
        'content'   => '$10 voucher for anniversary celebration',
        'mark'      => 'voucher',
        'belong'    => 'celebrate',
        'amount'    => 10.00,
        'percent'   => array(
            'default'   => 3.75,
            'US'        => 3.73,
            'CA'        => 50,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'detail'    => array(
            'startTime' => '2015-01-01 00:00:00',
            'endTime'   => '2015-05-01 00:00:00',
            'value'     => 10.00,
            'sellAmount'    => 10.00,
            'minAmount' => 10.00,
        )
    ),
    array(
        'name'      => 'voucher20',
        'type'      => 2,
        'content'   => '$20 voucher for anniversary celebration',
        'mark'      => 'voucher',
        'belong'    => 'celebrate',
        'amount'    => 20.00,
        'percent'   => array(
            'default'   => 3.75,
            'US'        => 3.73,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'detail'    => array(
            'startTime' => '2015-01-01 00:00:00',
            'endTime'   => '2015-05-01 00:00:00',
            'value'     => 20.00,
            'sellAmount'    => 20.00,
            'minAmount' => 20.00,
        )
    ),
    array(
        'name'      => 'voucher50',
        'type'      => 2,
        'content'   => '$50 voucher for anniversary celebration',
        'mark'      => 'voucher',
        'belong'    => 'celebrate',
        'amount'    => 50.00,
        'percent'   => array(
            'default'   => 1.25,
            'US'        => 1.25,
            'CA'        => 0,
            'AU'        => 0,
            'CN'        => 0,
            'AR'        => 0,
        ),
        'detail'    => array(
            'startTime' => '2015-01-01 00:00:00',
            'endTime'   => '2015-05-01 00:00:00',
            'value'     => 50.00,
            'sellAmount'    => 50.00,
            'minAmount' => 50.00,
        )
    ),
);
$config['easterEggBaseNum'] = 10000;
$config['easterEggStartTime'] = '2015-03-28 16:00:00';
$config['easterEggEndTime'] = '2015-04-29 16:00:00';
$config['easterEggDayStartHour'] = '16:00:00';
$config['fakeWinnerList'] = array(
    'Dear colo**@y*.com get a $100 bonus',
    'Dear cons**@y*.com get a $100 coupon',
    'Dear funk**@h*.com get a $50 bonus',
    'Dear bald**@y*.com get a $50 coupon',
    'Dear suns**@o*.com get a FREE GIFT',
    'Dear coba**@y*.com get a $20 coupon',
    'Dear dema**@h*.com get a $100 bonus',
    'Dear newl**@y*.com get a $100 coupon',
    'Dear palm**@o*.com get a $50 bonus',
    'Dear hass**@y*.com get a $50 coupon',
    'Dear tuxd**@y*.com get a FREE GIFT',
    'Dear moun**@y*.com get a $20 coupon',
    'Dear cant**@o*.com get a $100 bonus',
    'Dear loav**@h*.com get a $100 coupon',
    'Dear melo**@y*.com get a $50 bonus',
    'Dear flee**@h*.com get a $50 coupon',
    'Dear sing**@y*.com get a FREE GIFT',
    'Dear libr**@h*.com get a $20 coupon',
    'Dear held**@o*.com get a $100 bonus',
    'Dear trut**@y*.com get a $100 coupon',
    'Dear clon**@o*.com get a $50 bonus',
    'Dear soya**@h*.com get a $50 coupon',
    'Dear tell**@h*.com get a FREE GIFT',
    'Dear hila**@o*.com get a $20 coupon',
    'Dear grow**@h*.com get a $100 bonus',
    'Dear soun**@y*.com get a $100 coupon',
    'Dear bayo**@o*.com get a $50 bonus',
    'Dear quer**@o*.com get a $50 coupon',
    'Dear hora**@y*.com get a FREE GIFT',
    'Dear twis**@o*.com get a $20 coupon',
    'Dear erra**@h*.com get a $100 bonus',
    'Dear unma**@h*.com get a $100 coupon',
    'Dear scal**@o*.com get a $50 bonus',
    'Dear toph**@o*.com get a $50 coupon',
    'Dear vote**@h*.com get a FREE GIFT',
    'Dear econ**@h*.com get a $20 coupon',
    'Dear spel**@y*.com get a $100 bonus',
    'Dear bare**@y*.com get a $100 coupon',
    'Dear ster**@h*.com get a $50 bonus',
    'Dear topc**@h*.com get a $50 coupon',
    'Dear slig**@y*.com get a FREE GIFT',
    'Dear roug**@y*.com get a $20 coupon',
    'Dear cura**@o*.com get a $100 bonus',
    'Dear dabb**@o*.com get a $100 coupon',
    'Dear fior**@h*.com get a $50 bonus',
    'Dear diga**@o*.com get a $50 coupon',
    'Dear swee**@y*.com get a FREE GIFT',
    'Dear cafe**@o*.com get a $100 bonus',
    'Dear rais**@h*.com get a $100 coupon',
    'Dear inne**@o*.com get a $50 bonus',
    'Dear exul**@y*.com get a $50 coupon',
    'Dear cowl**@h*.com get a FREE GIFT',
    'Dear land**@y*.com get a $100 bonus',
    'Dear macr**@y*.com get a $100 coupon',
    'Dear omen**@y*.com get a $50 bonus',
    'Dear tang**@o*.com get a $50 coupon',
    'Dear week**@o*.com get a FREE GIFT',
    'Dear hoax**@h*.com get a $100 bonus',
    'Dear verm**@y*.com get a $100 coupon',
    'Dear plan**@o*.com get a $50 bonus',
    'Dear yolk**@h*.com get a $50 coupon',
    'Dear litc**@o*.com get a FREE GIFT',
    'Dear shon**@h*.com get a $100 bonus',
    'Dear chan**@h*.com get a $100 coupon',
    'Dear walk**@h*.com get a $50 bonus',
    'Dear writ**@y*.com get a $50 coupon',
    'Dear shoe**@y*.com get a FREE GIFT',
    'Dear milk**@y*.com get a $100 bonus',
    'Dear rach**@o*.com get a $100 coupon',
    'Dear nort**@y*.com get a $50 bonus',
    'Dear flag**@h*.com get a $50 coupon',
    'Dear long**@y*.com get a FREE GIFT',
    'Dear mopt**@y*.com get a $100 bonus',
    'Dear tact**@y*.com get a $100 coupon',
    'Dear cond**@y*.com get a $50 bonus',
    'Dear dihu**@o*.com get a $50 coupon',
    'Dear equa**@y*.com get a FREE GIFT',
    'Dear cord**@h*.com get a $100 bonus',
    'Dear meat**@h*.com get a $100 coupon',
    'Dear near**@h*.com get a $50 bonus',
    'Dear done**@y*.com get a $50 coupon',
    'Dear sign**@h*.com get a FREE GIFT',
    'Dear sewo**@h*.com get a $100 bonus',
    'Dear muss**@h*.com get a $100 coupon',
    'Dear melt**@h*.com get a $50 bonus',
    'Dear padd**@h*.com get a $50 coupon',
    'Dear bbss**@y*.com get a FREE GIFT',
    'Dear bals**@o*.com get a $100 bonus',
    'Dear medu**@o*.com get a $100 coupon',
    'Dear cava**@o*.com get a $50 bonus',
    'Dear bita**@y*.com get a $50 coupon',
    'Dear lagt**@o*.com get a FREE GIFT',
    'Dear jean**@h*.com get a $100 bonus',
    'Dear dray**@o*.com get a $100 coupon',
    'Dear gott**@h*.com get a $50 bonus',
    'Dear baag**@h*.com get a $50 coupon',
    'Dear link**@h*.com get a FREE GIFT',
    'Dear pass**@h*.com get a $100 bonus',
    'Dear blub**@o*.com get a $100 coupon',
    'Dear rema**@o*.com get a $50 bonus',
    'Dear fila**@o*.com get a $50 coupon',
    'Dear donn**@h*.com get a FREE GIFT',
    'Dear tabo**@o*.com get a $100 bonus',
    'Dear loos**@o*.com get a $100 coupon',
    'Dear wind**@o*.com get a $50 bonus',
    'Dear unho**@h*.com get a $50 coupon',
    'Dear gril**@o*.com get a FREE GIFT',
    'Dear heyd**@o*.com get a $100 bonus',
    'Dear heal**@h*.com get a $100 coupon',
    'Dear drow**@o*.com get a $50 bonus',
    'Dear pove**@h*.com get a $50 coupon',
    'Dear kidn**@h*.com get a FREE GIFT',
    'Dear warf**@h*.com get a $100 bonus',
    'Dear hose**@o*.com get a $100 coupon',
    'Dear lear**@h*.com get a $50 bonus',
    'Dear nois**@o*.com get a $50 coupon',
    'Dear sons**@o*.com get a FREE GIFT',
    'Dear over**@y*.com get a $100 bonus',
    'Dear ebon**@o*.com get a $100 coupon',
    'Dear tipp**@h*.com get a $50 bonus',
    'Dear fadm**@y*.com get a $50 coupon',
    'Dear prud**@o*.com get a FREE GIFT',
    'Dear gink**@o*.com get a $100 bonus',
    'Dear phag**@o*.com get a $100 coupon',
    'Dear ando**@o*.com get a $50 bonus',
    'Dear abat**@o*.com get a $50 coupon',
    'Dear whit**@o*.com get a FREE GIFT',
    'Dear bird**@o*.com get a $100 bonus',
    'Dear nico**@y*.com get a $100 coupon',
    'Dear baro**@o*.com get a $50 bonus',
    'Dear sanc**@y*.com get a $50 coupon',
    'Dear chec**@o*.com get a FREE GIFT',
    'Dear clop**@y*.com get a $100 bonus',
    'Dear exci**@h*.com get a $100 coupon',
    'Dear nood**@h*.com get a $50 bonus',
    'Dear regg**@o*.com get a $50 coupon',
    'Dear fryr**@y*.com get a FREE GIFT',
    'Dear gutt**@y*.com get a $100 bonus',
    'Dear myos**@h*.com get a $100 coupon',
    'Dear aton**@y*.com get a $50 bonus',
    'Dear nuzz**@o*.com get a $50 coupon',
    'Dear reti**@h*.com get a FREE GIFT',
    'Dear rove**@o*.com get a $100 bonus',
    'Dear leve**@h*.com get a $100 coupon',
    'Dear skew**@h*.com get a $50 bonus',
    'Dear glin**@y*.com get a $50 coupon',
    'Dear mare**@h*.com get a FREE GIFT',
    'Dear hood**@o*.com get a $100 bonus',
    'Dear stre**@y*.com get a $100 coupon',
    'Dear tall**@y*.com get a $50 bonus',
    'Dear sema**@y*.com get a $50 coupon',
    'Dear riml**@h*.com get a FREE GIFT',
);
$config['easterSpecialGoodsSn'] = array(
    '00K93AC000',
    'XB13081225',
    'XF13081228',
    'XB13081224',
);
$config['easterDisplayGoodsSn'] = array(
    1 => array(
        'type' => 'freeGift',
        'value' => '02H930AB005',
    ),
    2 => array(
        'type' => 'specialGift',
        'value' => '02H930AB005',
    ),
    3 => array(
        'type' => 'bonus',
        'value' => '100',
    ),
    4 => array(
        'type' => 'specialGift',
        'value' => '02H930AB005',
    ),
    5 => array(
        'type' => 'specialGift',
        'value' => '02H930AB005',
    ),
    6 => array(
        'type' => 'bonus',
        'value' => '1',
    ),
    7 => array(
        'type' => 'coupon',
        'value' => '1',
    ),
    8 => array(
        'type' => 'specialGift',
        'value' => '02H930AB005',
    ),
    9 => array(
        'type' => 'specialGift',
        'value' => '02H930AB005',
    ),
);
/*===============复活节砸蛋配置==============*/

/*===============2015店庆活动配置============*/
$config['anniversaryStartTime'] = '2015-04-02 19:00:00';//活动开始时间(中国时间)
$config['anniversaryEndTime'] = '2015-04-05 16:00:00';//活动结束时间(中国时间)
$config['anniversaryTimeDiffHour'] = '13';//美国中国时差
//店庆商品数据
$config['anniversary'] = array(//(店庆配置以下出现的时间全是美国时间)
    array(
        'startTime' => '2015-04-02 06:00:00',
        'endTime'   => '2015-04-02 09:00:00',
        'isShowDay' => 1,
        'goodsSn'   => array(
            'XF13080704',
            'XB13080704',
            'XF13080705',
            'HY13080704',
            'HY13080705',
        ),
    ),
    array(
        'startTime' => '2015-04-02 09:00:00',
        'endTime'   => '2015-04-02 11:00:00',
        'isShowDay' => 0,
        'goodsSn'   => array(
            'XF13080706',
            'XB13080705',
            '930AC00U',
            'XF13080707',
            'HY13080707',
        ),
    ),
    array(
        'startTime' => '2015-04-02 11:00:00',
        'endTime'   => '2015-04-02 14:00:00',
        'isShowDay' => 0,
        'goodsSn'   => array(
            'XF13080710',
            'HY13080710',
            'XF13080711',
            'HY13080711',
            'XB13080707',
        ),
    ),
    array(
        'startTime' => '2015-04-02 14:00:00',
        'endTime'   => '2015-04-02 21:00:00',
        'isShowDay' => 0,
        'goodsSn'   => array(
            'XF13080708',
            'XB13080706',
            'HY13080708',
            'XF13080709',
            'HY13080709',
        ),
    ),
    array(
        'startTime' => '2015-04-02 21:00:00',
        'endTime'   => '2015-04-03 06:00:00',
        'isShowDay' => 1,
        'goodsSn'   => array(
            'HY13080714',
            'HY13080715',
            'HY13080716',
            'XB13080709',
            'XF13080715',
        ),
    ),
    array(
        'startTime' => '2015-04-03 06:00:00',
        'endTime'   => '2015-04-03 09:00:00',
        'isShowDay' => 0,
        'goodsSn'   => array(
            'XF13080735',
            'HY13080747',
            'XB13080727',
            'XB13080728',
            'HY13080748',
        ),
    ),
    array(
        'startTime' => '2015-04-03 09:00:00',
        'endTime'   => '2015-04-03 11:00:00',
        'isShowDay' => 0,
        'goodsSn'   => array(
            'XF13080712',
            'HY13080712',
            'XF13080713',
            'HY13080713',
            'XB13080708',
        ),
    ),
    array(
        'startTime' => '2015-04-03 11:00:00',
        'endTime'   => '2015-04-03 14:00:00',
        'isShowDay' => 0,
        'goodsSn'   => array(
            'XF13080732',
            'XB13080724',
            'HY13080743',
            'XF13080733',
            'XB13080725',
        ),
    ),
    array(
        'startTime' => '2015-04-03 14:00:00',
        'endTime'   => '2015-04-03 21:00:00',
        'isShowDay' => 1,
        'goodsSn'   => array(
            'HY13080744',
            'HY13080745',
            'XF13080734',
            'HY13080746',
            'XB13080726',
        ),
    ),
    array(
        'startTime' => '2015-04-03 21:00:00',
        'endTime'   => '2015-04-04 06:00:00',
        'isShowDay' => 0,
        'goodsSn'   => array(
            'HY13080714',
            'HY13080715',
            'HY13080716',
            'XB13080709',
            'XF13080715',
        ),
    ),
    array(
        'startTime' => '2015-04-04 06:00:00',
        'endTime'   => '2015-04-04 09:00:00',
        'isShowDay' => 0,
        'goodsSn'   => array(
            'HY13080714',
            'HY13080715',
            'HY13080716',
            'XB13080709',
            'XF13080715',
        ),
    ),
    array(
        'startTime' => '2015-04-04 09:00:00',
        'endTime'   => '2015-04-04 11:00:00',
        'isShowDay' => 0,
        'goodsSn'   => array(
            'HY13080714',
            'HY13080715',
            'HY13080716',
            'XB13080709',
            'XF13080715',
        ),
    ),
    array(
        'startTime' => '2015-04-04 11:00:00',
        'endTime'   => '2015-04-04 14:00:00',
        'isShowDay' => 0,
        'goodsSn'   => array(
            'HY13080714',
            'HY13080715',
            'HY13080716',
            'XB13080709',
            'XF13080715',
        ),
    ),
    array(
        'startTime' => '2015-04-04 14:00:00',
        'endTime'   => '2015-04-04 21:00:00',
        'isShowDay' => 0,
        'goodsSn'   => array(
            'HY13080714',
            'HY13080715',
            'HY13080716',
            'XB13080709',
            'XF13080715',
        ),
    ),
    array(
        'startTime' => '2015-04-04 21:00:00',
        'endTime'   => '2015-04-05 03:00:00',
        'isShowDay' => 0,
        'goodsSn'   => array(
            'HY13080714',
            'HY13080715',
            'HY13080716',
            'XB13080709',
            'XF13080715',
        ),
    ),
);
/*===============2015店庆活动配置============*/

/*=============联盟注册分红时是否添加验证购物车是否有数据的开关=============*/
$config['isVerifyCart'] = false;
/*=============联盟注册分红时是否添加验证购物车是否有数据的开关=============*/

//图片尺寸
$config['SImg']='300x400';
$config['MImg']='210x280';
$config['LImg']='450x600';


//图片质量
$config['QImg']='x80';
/*===========调用java接口地址-用于列表页热搜词==========*/
$config['hotWordPort'] = 'http://192.168.1.128/pattern/verifyHotKey?queryJson=';
/*===========调用java接口地址-用于列表页热搜词==========*/


/*=====站点类型='local':本地;'test':测试;'beta':beta环境;'online':线上====*/
$config['siteMark'] = 'local';
/*=====站点类型=====*/


//rabbitmq默认配置信息。
$config['rabbitMqConfig'] = array(
    'host' => '192.168.3.19',      //服务器地址
    'port' => '5672',               //端口
    'user' => 'guest',              //用户名
    'password' => 'guest',          //密码
    'onSale' => array(
        'type' => 'topic',                 //队列类型
        'exchange' => 'jollychic.topic',   //默认接受消息的Exchange
        'queue' => 'goods.onSale',          //默认的队列名称
        'routingKey' => 'goods.#',      //队列名称的RoutingKey
    ),
    'orderCheck' => array(
        'type' => 'topic',                 //队列类型
        'exchange' => 'jollychic.topic',   //默认接受消息的Exchange
        'queue' => 'orderCheck.subscribe',          //默认的队列名称
        'routingKey' => 'orderCheck.#',      //队列名称的RoutingKey
    ),
    'translation'=>array(
        'type' => 'topic',                 //队列类型
        'exchange' => 'jollychic.topic',   //默认接受消息的Exchange
        'queue' => 'translation.subscribe',          //默认的队列名称
        'routingKey' => 'translation.#',      //队列名称的RoutingKey
    ),
'sendEmail'=> array(
        'type' => 'topic',                 //队列类型
        'exchange' => 'jollychic.topic',   //默认接受消息的Exchange
        'queue' => 'email.forward',          //默认的队列名称
        'routingKey' => 'email.#',      //队列名称的RoutingKey
    ),
'halloweenBonus'=>array(
'type' => 'topic', //队列类型
'exchange' => 'jollychic.topic', //默认接受消息的Exchange
'queue' => 'bonus.grantbonus', //默认的队列名称
'routingKey' => 'bonus.#', //队列名称的RoutingKey
),
'halloweenGift'=>array(
'type' => 'topic', //队列类型
'exchange' => 'jollychic.topic.delay', //默认接受消息的Exchange
'queue' => 'queue.24h.delay', //默认的队列名称
'routingKey' => 'halloween2015.#',
'argument'=>array(
'x-message-ttl' => 60000,
'x-max-length' =>5000000,
"x-dead-letter-exchange"=>'jollychic.topic'
),
),
);
$config['javaAPIUrl'] = 'http://192.168.3.87:8080/';/*=====站点类型=====*/

//地区缩写
$config['zonemap']=array(
    1=>'us',
    2=>'ar',
    3=>'au',
    4=>'eu',
    6=>'pl'
);

$config['zone']=array(
    'us'=>'1719',
    'me'=>'1718',
    'au'=>'1717',
    'eu'=>'1716',
    'pl'=>'1805',
);

//货币顺序
$config['currencyOrder']=array (
    'aed' ,
    'mxn' ,
    'aud' ,
    'nzd' ,
    'bhd' ,
    'pln' ,
    'cad' ,
    'qar' ,
    'eur' ,
    'sar' ,
    'gbp' ,
    'sgd' ,
    'kwd' ,
    'usd' ,
    'inr'
);

$config['aftersalebonus10'] = array(
    100
);

$config['configUrlNoWomens'] = array(
    171,179,189
);
//禁止发货到墨西哥的鞋子分类id
$config['configDisableMexicoShoesCates'] = array(60,
    59,
    60,
    62,
    63,
    77,
    129,
    110,
    122,
    123,
);
//禁止鞋类发货到的国家
$config['configDisableShoesCountry'] = array(
    'MX'=>'Mexico',
);


//shoes分类下的分类id
$config['sizeShoesCatGuide'] = array(
    60,61,62,63,64,65,77,110,122,123,129,
);

//clothing分类下分类id
$config['sizeClothingsCatGuide'] = array(
    6,8,10,12,14,16,22,34,42,43,44,45,47,48,67,70,71,72,73,74,75,76,78,80,81,84,85,89,91,92,93,106,116,118,208
);

//由于constants.php不受保护,而且cod付款每个环境的id不同,所以定义再这里
define("PAYMENT_COD", 41); //COD付款 id
/*===========注册弹框送的礼物的配置==========*/
$config['registerGoodsSn'] = array(
    'YL13122748',
    'YL14022754',
    'YL14032550',
    'LQ13122448',
      'XF14031439',
      'ZH13112830',
      'YL14030411',
      'YL14010354'
);
/*===========注册弹框送的礼物的配置==========*/
$config['codCountryPrice'] = array(
	'sa' => array('ر.س','35.00'),
'kw' => array('K.D', '10.00'), 
'qa'=> array('﷼','10.00'), 
'bh'=> array('BD', '10.00'), 
'ae'=> array('AED', '10.00'),
);
$config['returnTimeout']=2*3600;
//cod订单以往未付款总金额，超过此限制，则不可提交
$config['codMaxTotalPrice'] = 1000;
//cod订单最多发送成功的次数
$config['codMaxSmsOkTimes'] = 5;
//cod短信一共可以验证的数次
$config['codTotalVerifyNum'] = 10; 
//未确认订单的时间
$config['codUnverifiedTime'] = 1800;

//不同站点链接过滤
$config['site_filter_url']=array(
    '/dabuwawa.html'=>array(array('ar','pl','fr','tw'),'show_404'),
    '/going-out-bs51'=>array(array('ar','pl','fr','tw'),'show_404'),
    '/dabuwawa-6.html'=>array(array('ar','pl','fr','tw'),'show_404'),
    '/ups-express-a31.html'=>array(array('ar','pl','fr','tw'),'show_404'),
    '/dhl-express-a32.html'=>array(array('ar','pl','fr','tw'),'show_404'),
    '/china-registered-mail-a33.html'=>array(array('ar','pl','fr','tw'),'show_404'),
    '/special-win-a-trip-to-paris20150126-index.html'=>array(array('ar','pl','fr','tw'),'show_404'),
);

$config['is_show_expaypal'] = true;